@import "../../style/public";
.TransactionFlow {
  .page-infinite-loading {
    text-align: center;
    @include remCalc(margin-top, 20);
    @include remCalc(height, 80);
    @include remCalc(line-height, 80);
    @include remCalc(font-size, 14);
  }
  .filter-icon {
    @include remCalc(font-size, 38);
    @include remCalc(padding-left, 20);
    color: #333333;
  }
  .blue {
    color: #459dff;
  }
  .search-wrap {
    @include remCalc(margin-top, 30);
  }
  .section {
    overflow: scroll;
    position: relative;
  }
  .filter-result {
    @include remCalc(font-size, 24);
    @include remCalc(line-height, 34);
    color: #999999;
    @include remCalc(padding, 20, 30);
    @extend %box-sizing;
    background: #f9f9f9;
  }
  .total-data {
    @include remCalc(font-size, 28);
    color: #333333;
    @include remCalc(line-height, 36);
    @include remCalc(padding, 26, 30);
    @extend %box-sizing;
    background: #ffffff;
    display: flex;
    align-items: center;
    @include thin-border(false, false, bottom);
    i {
      @include remCalc(font-size, 40);
      @include remCalc(padding-right, 20);
      color:#ccc;
    }
  }
  .no-more {
    text-align: center;
    color: #999;
    @include remCalc(font-size, 24);
    @include remCalc(padding-top, 30);
  }
  .list {
    background: #fff;
    @include remCalc(margin-bottom, 30);
    @include remCalc(padding-left, 30);

    li {
      @extend %flex;
      @include remCalc(padding-top, 30);
      @include remCalc(padding-bottom, 10);
      @include remCalc(padding-right, 30);
      @include thin-border(false, false, bottom);
      .left-icon {
        text-align: center;
        @include remCalc(width, 80);
        @include remCalc(height, 80);
        @include remCalc(line-height, 80);
        @include remCalc(font-size, 22);
        border-radius: 50%;
        color: #ffffff;
        position: relative;
        @include remCalc(padding-top, 24);
        > img {
          width: 100%;
          height: 100%;
        }
      }
      .right-data {
        @include remCalc(padding-left, 20);
        @extend %flex-item;
        > p {
          @include remCalc(font-size, 24);
          color: #999999;
          @include remCalc(line-height, 36);
          @include remCalc(padding-bottom, 14);
        }
        .shop-name {
          @include remCalc(font-size, 32);
          color: #333333;
          @include remCalc(max-width, 450);
          @extend %text-overflow;
          display: inline-block;
        }
        .data-flow {
          float: right;
          @include remCalc(font-size, 36);
          color: #fd8217;
        }
        .data-time {
        }
        .data-status {
          float: right;
        }
        .store {
          @include remCalc(font-size, 26);
          @include remCalc(line-height, 26);
          color: #7e7e7e;
        }
        .info{
          word-break: break-all;
          word-wrap: break-word;
        }
      }
      .leave {
        .name {
          color: #cccccc;
        }
        .store {
          color: #cccccc;
        }
      }
    }
    li:last-child {
      border: 0;
    }
  }
}

.no-more {
  color: #ddd;
  @include remCalc(font-size, 26);
  text-align: center;
  @include remCalc(line-height, 40);
  @include remCalc(padding-bottom, 20);
  position: relative;
  span {
    position: relative;
  }
  span:before {
    content: "";
    position: absolute;
    height: 1px;
    background: #ddd;
    @include remCalc(width, 20);
    @include remCalc(top, 10);
    @include remCalc(left, -30);
  }
  span:after {
    content: "";
    position: absolute;
    height: 1px;
    background: #ddd;
    @include remCalc(width, 20);
    @include remCalc(top, 14);
    @include remCalc(right, -30);
  }
}
.TransactionFlow-filterItem {
  .page-body {
    @include remCalc(padding, 0, 0, 100, 0);
  }
  width: 100%;
  height: 100%;
  .section {
    @include remCalc(padding, 0, 30);
    color: #333;
    .title {
      @include remCalc(font-size, 32);
      @include remCalc(padding, 40, 0, 28, 0);
    }
    .picker-val {
      @include remCalc(font-size, 28);
      background: #f6f6f6;
      border: 1px solid #eeeeee;
      border-radius: 4px;
      @include remCalc(padding, 0, 20);
      @include remCalc(height, 80);
      box-sizing: border-box;
      display: inline-flex;
      align-items: center;
      width: 100%;
      justify-content: space-between;
      i {
        color: #ccc;
      }
    }
    .check-list {
      display: flex;
      flex-flow: wrap;
      justify-content: space-between;
      li {
        text-align: center;
        //@include remCalc(padding, 0, 76);
        @include remCalc(width, 210);
        @include remCalc(height, 80);
        @include remCalc(line-height, 80);
        @include remCalc(font-size, 28);
        @include remCalc(margin-bottom, 20);
        color: #333;
        background: #f6f6f6;
        border: 1px solid #eeeeee;
        border-radius: 4px;
        box-sizing: border-box;
        position: relative;
        overflow: hidden;
        i {
          color: #fff;
          position: absolute;
          @include remCalc(font-size, 16);
          @include remCalc(right, 6);
          @include remCalc(bottom, 2);
          display: none;
        }
        &.checked {
          background: rgba(69, 157, 255, 0.1);
          color: #459dff;
          border: 1px solid transparent;
          i {
            display: block;
          }
          &::before {
            position: absolute;
            content: "";
            display: block;
            @include remCalc(width, 100);
            @include remCalc(height, 40);
            @include remCalc(right, -26);
            @include remCalc(bottom, -20);
            background: #459dff;
            transform: rotate(-218deg);
          }
        }
      }
    }
  }
  .section.has-right {
    @include remCalc(padding, 0, 0, 0, 30);
    .check-list {
      display: flex;
      flex-flow: wrap;
      justify-content: left;
      li {
        @include remCalc(margin-right, 26);
      }
    }
  }
  .btn-wrap {
    width: 100%;
    display: flex;
    box-sizing: border-box;
    padding: 0;
    // box-shadow: 0 -2px 8px 0 #cccccc;
    > div {
      flex: 1;
      @include remCalc(font-size, 36);
      @include remCalc(height, 88);
      @include remCalc(line-height, 88);
      @include thin-border(true,false);
      text-align: center;
      & + div {
        background: #459dff;
        color: #fff;
        &::before{
          border-color: #459dff;
        }
        &::after{
          border-color: #459dff;
        }
      }
      background: #fff;
      color: #459dff;
    }
  }
  .pick-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    @include remCalc(padding, 0, 30, 0, 0);
    color: #333;
    @include remCalc(font-size, 36);
    i {
      color: #ccc;
    }
  }
}

.transactionFlow-details {
  width: 100%;
  height: 100%;
  .details-list {
    @include remCalc(margin-bottom, 60);
    > li {
      @include remCalc(margin-top, 20);
      position: relative;
      @include thin-border(true);
      background: #fff;
      @include remCalc(font-size, 30);
      .top {
        @include remCalc(font-size, 32);
        @include remCalc(height, 80);
        @include remCalc(line-height, 80);
        @include remCalc(padding, 0, 30);
        @include thin-border(false, false, bottom);
        display: flex;
        color: #333;
        > span {
          @include remCalc(padding-right, 30);
        }
        > div {
          flex: 1;
          text-align: right;
        }
      }
      .bottom {
        @include remCalc(padding, 14, 0);
        > li {
          .info{
            word-break: break-all;
            word-wrap: break-word;
          }
          @include remCalc(padding, 6, 30);
          display: flex;
          > span {
            color: #999;
            @include remCalc(padding-right, 30);
          }
          > div {
            color: #333;
            flex: 1;
            text-align: right;
          }
        }
      }
    }
  }
}
